welcome back to black thorn prod I know
it's been quite some time since I've
made tutorials mostly focusing on dev
logs and I do miss the peace and
relaxing process a bit of just sharing
some game creation knowledge so in this
video I'll be showing you an easy cool
way to create this beautiful looking 2d
reflection effects which can obviously
be used for a water or mirrors or even
ice just Before we jump into that here's
a big shout out to Jason Wyman the
sponsor of this video who is also the
top-notch instructor of the massive
unity mastery course he'll take you from
complete beginner through the
fundamentals of unity and c-sharp and
alongside other students and even
one-on-one sessions with Jason himself
you'll master unit C and programming bit
by bit and eventually be able to bring
your crazy unique ideas to life the link
to that is in the description so I
discovers this reflection effects
through this short but epic post by
damien simply head over to that page and
click on the Downloads package link this
will download the unity package you can
then head over to your unity project and
import a custom package find the right
one and double click on it inside the
scene I'll create a 3d object quarter
and I'll answer it the water 2d scripts
this quote basically acts has our water
or reflective surface the speed on the
X&Y here controls how fast the ripple
effect on the reflection will play out
so for now though I'll go to the shaders
folder of my unity package and drag and
drop this water to the surface on the
Quadra super let's get this castle
sprite reflecting in the water so I'll
make sure to scale up my quad a bit and
give my castle an order in layer which
is higher than zero then I'll add two
it's the water reflects about scripts
now I simply needs to drag and drop
whatever sprites I want to act handy
reflection so in my case I want that
same castle sprites to be reflected in
the water and I'll set the reflections
in Z rotation to 180 degrees so it's
flipped and looks like a proper
reflection I'll hit play and see how
that looks so chances are high you'll
also need to play around with the local
position adding some offsets to the
reflection and then you can select the
quality that acts like water and
increase the shaders magnitude just a
chance to break up that reflection and
give it extra movements of course if you
are creating a reflective mirror for
example then you'll probably wants to
set magnitude equal to zero so that the
reflection doesn't move all over the
place and the reflection will update
itself has you play which is really neat
so there we go just a quick video
sharing and spreading the word about
this great little effect so remember if
the reflection doesn't look right
initially tweak the local position or
rotation and then you can increase or
decrease the shaders magnitude and/or
the water's speed and see what your
character to have a different reflection
than what he actually looks like well
remember it's simply about changing the
sprites in the water reflectable scripts
hope you enjoy this quick video many
moons ago I made another video on 2d
water that one is more focused on
cool water physics with the vectors and
making hand-drawn water animation so
consider checking out now my previous
video got a pretty negative backlash
arose a comment on that video addressing
the issue yesterday I of course want
peace and positivity first and foremost
so let's keep it that way so that I can
have mental clarity and create my best
work possible to share with you all
anyway stay tuned for an exciting reveal
in the next video coming up soon and
yeah thank you to my patrons for
supporting me financially each and every
month
you're awesome cheers everyone